package com.chen.spider.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@ApiModel("子页面的内容")
@Data
//@Component
public class SpiderEntity {
    private Integer id;
    @ApiModelProperty("链接")
    private String href;
    @ApiModelProperty("文章标题")
    private String title;
    @ApiModelProperty("文章来源")
    private String source;
    @ApiModelProperty("文章发布时间")
    private Date createTime;
    @ApiModelProperty("文章内容")
    private String content;
}